const searchBookInput = document.getElementsByClassName("searchHistoryText")[0];
const searchBookBtn = document.getElementsByClassName("searchHistoryBtn")[0];



searchBookBtn.addEventListener('click',()=>{
    var searchHistoryText = searchBookInput.value
    location.href = `http://localhost:8080/library/admin/approval?searchHistoryText=${searchHistoryText}`;
});

